<template>
  <div>
    <v-form :user="user" ref="form"></v-form>
    <v-list @willEdit="willEdit"></v-list>
  </div>
</template>

<script>
import vForm from "./components/from.vue";
import vList from "./components/list.vue";
export default {
  methods: {
    willEdit(uid) {
      this.user.isshow = true;
      this.$refs.form.getOne(uid);
    },
  },
  components: {
    vForm,
    vList,
  },
  data() {
    return {
      user: {
        isshow: false,
      },
    };
  },
};
</script>

<style>
</style>